import request from '@/utils/request'

export function getPerson() {
  return request({
    url: '/person/getPerson',
    method: 'get'
  })
}

export function getPersonByKeywords(keywords) {
  return request({
    url: '/person/getPersonByKeywords?keywords=' + keywords,
    method: 'get'
  })
}

export function getPersonList(data) {
  return request({
    url: '/person/getPersonList',
    method: 'post',
    data
  })
}
